package com.example.jjyu.entity;

public class Coupon {
    private String couponId;
    private String platform;
    private Double discountAmount;
    private String expiryDate;
    private String userId;
    private Double cartAmount;

    public Coupon() {}

    public Coupon(String couponId, String platform, Double discountAmount, String expiryDate) {
        this.couponId = couponId;
        this.platform = platform;
        this.discountAmount = discountAmount;
        this.expiryDate = expiryDate;
    }

    // Getters and setters
    public String getCouponId() { return couponId; }
    public void setCouponId(String couponId) { this.couponId = couponId; }

    public String getPlatform() { return platform; }
    public void setPlatform(String platform) { this.platform = platform; }

    public Double getDiscountAmount() { return discountAmount; }
    public void setDiscountAmount(Double discountAmount) { this.discountAmount = discountAmount; }

    public String getExpiryDate() { return expiryDate; }
    public void setExpiryDate(String expiryDate) { this.expiryDate = expiryDate; }

    public String getUserId() { return userId; }
    public void setUserId(String userId) { this.userId = userId; }

    public Double getCartAmount() { return cartAmount; }
    public void setCartAmount(Double cartAmount) { this.cartAmount = cartAmount; }
}